Skip to main content

ConvolutionLayer

ConvolutionLayer[n,s] represents a trainable convolutional net layer having n output channels and using kernels of size s to compute the convolution.

ConvolutionLayer[n,{s}] represents a layer performing one-dimensional convolutions with kernels of size s.

ConvolutionLayer[n,{h,w}] represents a layer performing two-dimensional convolutions with kernels of size h×w.

ConvolutionLayer[n,{h,w,d}] represents a three-dimensional convolutions with kernels of size h×w×d.

ConvolutionLayer[n,kernel,opts] includes options for padding and other parameters.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.